import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

  const routes = [
  {
    path:"/",
    redirect:"/connect"
  },
  {
    path:"/connect",
    component: () => import('@/views/connect.vue')
  },
  {
    path: '/home',
    name: 'Home',
    component: () => import('../views/Home.vue')
  },
  
  {
    path: '/jishou',
    name: 'Jishou',
    component: () => import('../views/jishouPage.vue')
  },
  {
    path: '/nft',
    name: 'nft',
    component: () => import('../views/nftPage.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
